package com.woniu.car.client;

import com.woniu.car.common.ResponseEntity;
import com.woniu.car.dto.CouponUseDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("PlatformService")
public interface CouponsClient {

    @GetMapping("/platform/couponUseCoupon")
    public ResponseEntity<CouponUseDto> couponUseCoupon(@RequestParam("couponReceiveId") Integer couponReceiveId);

}
